package com.molichuxing.services.infrastructure.dto.request.create;

import com.molichuxing.framework.dto.RequestRootDto;
import com.molichuxing.services.property.OrderTypeEnum;

import lombok.Data;

/**
 * 新增订单dto
 * 
 * @author zoumingyu
 * @date 2019年9月25日
 *
 */
@Data
public class OrderCreateDto extends RequestRootDto {
	private static final long serialVersionUID = -7193705142885657901L;

	/**
	 * 订单号 order_code
	 */
	private Long orderCode;

	/**
	 * 订单类型(1： 经销商订单，2：专属里程订单，3：订阅里程订单，4：加购里程订单) type
	 */
	private OrderTypeEnum type;
	
	public OrderCreateDto() {}
	
	public OrderCreateDto(Long orderCode, OrderTypeEnum type) {
		this.orderCode = orderCode;
		this.type = type;
	}
}
